#ifndef PLANEFITTING_FITTING_H
#define PLANEFITTING_FITTING_H

#include "common.h"
#include <optional>

namespace rock {
	class Fitting {
	public:
		Fitting() = default;

		Fitting(points_type pts) : points_ {pts} {

		}

		auto least_sqaure() -> plane_type;

		auto ransac() -> plane_type;

	private:
		points_type points_;
	};

}

#endif //PLANEFITTING_FITTING_H
